/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 3/2/18
Time: 1:15 AM
 */

package Cn.Sarkar.Entities.Common

import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.DBEntity
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.IDataContext
import Cn.Sarkar.Entities.ISuper
import Cn.Sarkar.Entities.Common.TableNoID
import Cn.Sarkar.Entities.ISuperNoId
import org.joda.time.DateTime

abstract class BaseEntityNoID(DataContext: IDataContext, Table: TableNoID) : DBEntity(DataContext, Table), ISuperNoId {
    override var guid by Table.GUID
    override var createdTime: DateTime by Table.CreatedTime
    override var dataVersion: Long by Table.DataVersion
    override var lastUpdatedTime: DateTime by Table.LastUpdatedTime
}
